/*
 * Created on Dec 7, 2003
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package com.unash.util;

/**
 * @author Unmesh Joshi
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public interface Consts {
	int MASK = 1;
	int BYTE_SIZE = 8;
	int MAX_SINGLE_BYTE_VALUE = 127;
	int BINARY = 2;
	int ONE = 1;
	int ZERO = 0;
	byte MAGIC_NUMBER = (byte)-255;
	String STR_ONE = "1";
	String STR_ZERO = "0";
	int INT_SIZE = 4;
	int END_OF_CONTENTS_SIZE = 2;
	byte IS_CONSTRUCTED_BIT = 2;
	int BER_TRUE         = 1;
	int BER_FALSE        = 0;
	
	int END_OF_STREAM = -1;
	
	byte FIRST_BIT = 1;
	byte MASK_LEADING_THREE_BITS = 0x1F;
	byte MASK_LEADING_ONE_BIT = 0x7F;
	byte MASK_TRAILING_SEVEN_BITS = (byte)0x80;
	
	
	byte TAG_CLASS_LENGTH = 2;
	
	
	String VISIBLE_STRING_CHARSET = "US-ASCII";
	
	
	/*---XML[DatabaseMap]*/
	String DATABASE_MAP_FILE_NAME = "DatabaseMap.xml";
	String DATABASE = "database";
	String DATABASE_ATTRIBUTE_NAME = "name";
	String TABLE = "table";
	String TABLE_ATTRIBUTE_NAME = "name";
	String USE = "use";
	String USE_ATTRIBUTE_VALUE = "value";
	String COLUMN = "column";
	String DATATYPE = "datatype";	 
	
	
	
	/*------------------------*/
	int ATTR_TYPE_USE          = 1;
	int ATTR_TYPE_RELATION     = 2;
	int ATTR_TYPE_POSITION     = 3;
	int ATTR_TYPE_STRUCTURE    = 4;
	int ATTR_TYPE_TRUNCATION   = 5;
	int ATTR_TYPE_COMPLETENESS = 6;
}//Consts